from django.conf.urls.defaults import *
from django.conf import settings

urlpatterns = patterns('',
    (r'^admin/', include('django.contrib.admin.urls')),
    (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
    (r'^visualization/', include('erlysocial_api.urls')),
    (r'^twitter/', include('twitterfriend.urls')),
    (r'^crossdomain.xml$', 'django.views.generic.simple.direct_to_template', {'template': 'crossdomain.xml'}),
    (r'^$', 'django.views.generic.simple.direct_to_template', {'template': 'index.html'}),
    (r'', include('simplereg.urls')),
)
